package com.design.pattern.factorymethod.product;

/**
 * Created by Administrator on 2016/5/17.
 * 具体产品，实现每个产品的特性
 */
public class BenZ extends Car{
    public BenZ(String name){
        this.setName(name);
    }
    @Override
    public void drive() {
        System.out.println(this.getName() + ";--du,du,du--");
    }
}
